package com.imooc.miaosha.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.*;

import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder

public class UserDTO {
    /** */
    private Long id;

    /** */
    private String nickname;

    /** */
    @JsonIgnore
    private String password;

    /** */
    @JsonIgnore
    private String salt;

    /** */
    private String head;

    /** */
    private Date registerDate;

    /** */
    private String lastLoginDate;

    /** */
    private Integer loginCount;
    private byte role;
    private String mobile;
    private Integer miaoshaCount;
}

